package edu.nf.exam.vo;

/**
 * @author wangl
 * @date 2021/5/31
 */
public class ResultVO<T> {

    /**
     * 响应状态码， 200， 400， 500
     */
    private Integer code;
    /**
     * 响应的错误或提示消息
     */
    private String message;
    /**
     * 数据总记录数（Layui需要用到）
     */
    private Long count;
    /**
     * 响应数据
     */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
